This is used in client state.
This value is set during mnConnect.
C++ users: the memory for the returned string is managed by winsock. It is only guaranteed to remain valid before the next DarkNet command that uses winsock. In other words, if you want to use the address later on you should copy it to memory allocated by you. Note that because memory to the return string is allocated by winsock, you do not need to deallocate it yourself.
int Instance: This is the instance that the command
should use.
The IP that the client is connected
to via TCP if no error occurred.
An empty string if an error occurred:
| Possible Errors | |
| Occurred whilst… | Additional Information |
| "performing an instance related function. Invalid instance specified" | Before trying to use an instance you must first create it using mnStart. Instance numbers range from 0 to 1 less than the maximum number of instances |
| "executing. The specified instance is not a connected client instance; mnConnect should be used" | This occurs when a command
is used on an instance that is not a connected client instance. This commonly occurs when mnClientConnected is used incorrectly. If you attempt to use a command on a client instance after mnClientConnected has returned 0 for that instance, this error can be displayed. |
DBP
C++
.Net